package com.beici.waterghost.controller;

import com.beici.waterghost.model.resultes;
import com.beici.waterghost.service.impl.sildershowServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@CrossOrigin
public class silderShowController {

    @Autowired
    private sildershowServiceImpl sildershowService;

    @GetMapping("/getsildershow")
    public resultes getsildershow(){
        return sildershowService.quertySilderShow();
    }

}

